%% 元组测试 WP4Aq7Uc6hR9

-module(tuple_test).
-author('daqing15@163.com').

-export([convert_len/1]).

convert_len({centimeter, X}) ->
	{inch, X / 2.54};
convert_len({inch, Y}) ->
	{centimeter, Y * 2.54}.

